import requests

headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
}

with open('second_m3u8_url.text')as f:
    data=f.readlines()
# print(data)

for line in data:
    print(line.strip())
'''    # EXTINF:4,
    / 20231118 / cUYHi2tB / 1500
    kb / hls / dtbhbSCe.ts'''